package com.bss;

import java.util.Date;

public abstract class AbstractEntity implements com.bss.Entity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2436108296953445662L;

	private boolean selected;

	/**
	 * Date on which this entity was created
	 */
	protected Date date = new Date();

	protected int id;

	public void setSelected(final boolean selected) {
		this.selected = selected;
	}

	public boolean isSelected() {
		return this.selected;
	}

	public void setId(final int id) {
		this.id = id;
	}

	public void setDate(final Date date) {
		this.date = date;
	}
}
